package com.epam.dao;

import java.util.List;

import com.epam.entity.Training;

public interface TrainingDao<T extends Training> extends
		AbstractEntityDao<Training> {
	public List<T> selectForStudent(long id);

	public List<T> selectForTeacher(long id);

	 public int insert(long courseId, long studentId);
	 public void update (long trainingId, int mark, String review);
}
